package com.example.Objetos;

import com.example.transvipm.R;

import android.content.Context;
import android.view.View.MeasureSpec;
import android.widget.ExpandableListView;

public class CustomExpandableListView extends ExpandableListView {	
	public CustomExpandableListView(Context context) {
		super(context);
		
	}
	
	protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
		/*
		 * Adjust height
		 */
		heightMeasureSpec = MeasureSpec.makeMeasureSpec(900, MeasureSpec.AT_MOST);
		super.onMeasure(widthMeasureSpec, heightMeasureSpec);
	}  
}
